package com.chinawayltd.ews.sample.model.materiel;

import java.math.BigDecimal;

import com.chinawayltd.ews.sample.model.TMateriel;
import com.chinawayltd.ews.sample.util.StringUtils;

/**
 * @program: greeProject
 * @description 物料
 * @author: chenxin
 * @create: 2018年4月16日 下午4:57:43
 */
public class MaterielVO extends TMateriel{

	private String createTimeStr;
    private String materielVolumeStr;
    
	public String getMaterielVolumeStr() {
		return materielVolumeStr;
	}

	public void setMaterielVolumeStr(String materielVolumeStr) {
		if(StringUtils.isNoneBlank(materielVolumeStr)){
			String[] split = materielVolumeStr.split("\\.");
			if(split.length >=1){
				materielVolumeStr = split[0] +"m³";
			}
		}
		this.materielVolumeStr = materielVolumeStr;
	}

	public String getCreateTimeStr() {
		return createTimeStr;
	}

	public void setCreateTimeStr(String createTimeStr) {
		this.createTimeStr = createTimeStr;
	}
	
}
